package com.example.captcha.facade;

public class LightFacede {
    void on(){
        BedRoomLight bedRoomLight=new BedRoomLight();
        HallLight hallLight=new HallLight();
        LivingRoomLight livingRoomLight=new LivingRoomLight();
        bedRoomLight.on();
        hallLight.on();
        livingRoomLight.on();
    }
    void off(){
        BedRoomLight bedRoomLight=new BedRoomLight();
        HallLight hallLight=new HallLight();
        LivingRoomLight livingRoomLight=new LivingRoomLight();
        bedRoomLight.off();
        hallLight.off();
        livingRoomLight.off();
    }

}
